package com.example.spring.controller;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.ResponseBody;

/**
 * @Author: zhangrongqing
 * @Date: 2020/8/19 16:27
 */
@Controller
@ResponseBody
@RequestMapping("/test")
public class TestController {

    @GetMapping("/test")
    public String get(){
        System.out.println("test");
        return "test";
    }
}
